package com.fsy.its.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
@TableName("its_alarm")
public class Alarm {

    public static final int TYPE_FIRE = 1;
    public static final int TYPE_FAULT = 2;

    public static final int STATE_RESET = 0;
    public static final int STATE_OCCURRED = 1;

    private int id;

    private int type;

    private LocalDateTime alertTime;

    private LocalDateTime createTime;

    private LocalDateTime resetTime;

    private String description;

    private int transType;

    private String transId;

    private long pointId;

    private int state;
}
